﻿using System.Collections.Generic;
using ControleRepresentante.Logic.Models;
using WebSite.ViewModels.Fields;

namespace WebSite.ViewModels.ViewModelExtensions.EditViewModelExtensions
{
    public class FabricaJolitexEditViewModel : JolitexEditViewModel<Fabrica>
    {
        protected override IEnumerable<IField> GetGeralAdditionalFields(Fabrica model)
        {
            yield return new CheckBoxField("Jolitex", "isJolitex", model.FabricaJolitex.IsJolitex);
        }
    }
}